# Contributor: Charles Pritchard <chuck@jumis.com>
# Maintainer: Charles Pritchard <chuck@jumis.com>
pkgname=py3-biopython
pkgver=1.77
pkgrel=0
pkgdesc="Python tools for computational molecular biology."
options="!check" # test_NCBI_qblast hangs
url="https://biopython.org/"
arch="all !mips !mips64" # blocked by py3-numpy
license="BSD-3-Clause"
depends="py3-numpy python3"
makedepends="py3-setuptools py3-numpy-dev python3-dev"
source="https://files.pythonhosted.org/packages/source/b/biopython/biopython-$pkgver.tar.gz"
builddir="$srcdir/biopython-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6f4b03d46c591e1f49dd1e76bcc4ac5c9aaa2bf748c9dd37ffc5de5a613fbeed38f89b418c01601dd99c65b13b2e294bc8d81ffafc42a9ff1b309c84f840d0d5  biopython-1.77.tar.gz"
